package org.example.dto;

import java.io.Serializable;

/**
 * @author Rongchang Wu
 */
public class ClassDto implements Serializable {
    private static final long serialVersionUID = -3503520028251953720L;

    private Integer classId;
    private String department;
    private String major;
    private String grade;
    private String className;
    private Integer peopleNumber;

    public ClassDto() {
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getPeopleNumber() {
        return peopleNumber;
    }

    public void setPeopleNumber(Integer peopleNumber) {
        this.peopleNumber = peopleNumber;
    }


    @Override
    public String toString() {
        return "ClassDto{" +
                "classId=" + classId +
                ", department='" + department + '\'' +
                ", major='" + major + '\'' +
                ", grade='" + grade + '\'' +
                ", className='" + className + '\'' +
                ", peopleNumber=" + peopleNumber +
                '}';
    }
}
